﻿using Modules.Project;
using System.ComponentModel.DataAnnotations;

namespace ManagementApi.Models.Manage.ProjectSecurityDepositPaymentDetails
{
    public class ProjectSecurityDepositPaymentDetailsEditForm
    {
        /// <summary>
        /// 主键 
        ///</summary>
        [Display(Name = "主键")]
        public int Id { get; set; }
        /// <summary>
        /// 项目id 
        ///</summary>
        [Display(Name = "项目id")]
        public int? ProjectId { get; set; }
        /// <summary>
        /// 收支编号 
        ///</summary>
        [Display(Name = "收支编号")]
        [Required(ErrorMessage = "{0}不能为空")]
        public string Code { get; set; }
        /// <summary>
        /// 收支方式(现金,银行保函,工程担保公司保函,工程保证保险,其它) 
        ///</summary>
        [Display(Name = "收支方式")]
        [Required(ErrorMessage = "{0}不能为空")]
        public 收支方式 IncomeWay { get; set; }
        /// <summary>
        /// 保函（险）单号 
        ///</summary>
        [Display(Name = "保函（险）单号")]
        public string? InsurancePolicyNumbe { get; set; }
        /// <summary>
        /// 务工人员公民身份号码 
        ///</summary>
        [Display(Name = "务工人员公民身份号码")]
        [Required(ErrorMessage = "{0}不能为空")]
        public string CardNumber { get; set; }
        /// <summary>
        /// 务工人员姓名 
        ///</summary>
        [Display(Name = "务工人员姓名")]
        [Required(ErrorMessage = "{0}不能为空")]
        public string PersonName { get; set; }
        /// <summary>
        /// 工资支付金额 
        ///</summary>
        [Display(Name = "工资支付金额")]
        [Required(ErrorMessage = "{0}不能为空")]
        public decimal PayAmount { get; set; }
        /// <summary>
        /// 工资支付方式(现金,银行卡,社会保障卡,其他) 
        ///</summary>
        [Display(Name = "工资支付方式")]
        [Required(ErrorMessage = "{0}不能为空")]
        public 工资支付方式 PayType { get; set; }
        /// <summary>
        /// 支出日期 
        ///</summary>
        [Display(Name = "支出日期")]
        [Required(ErrorMessage = "{0}不能为空")]
        public DateTime Expenditure { get; set; }
    }
}
